123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 :
- * 설 명 :
- * 설 계 자 :
- * 작 성 자 :
- * 작 성 일 :
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>[자동판정]의사종합소견(과거)</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <patinfo/>
- <judgpatlst/>
- <prt>
- <lstopn/>
- <lstopn2/>
- </prt>
- <acptlst>
- <item>
- </item>
- </acptlst>
- <data>
- <c_list>
- </c_list>
- <ro_list>
- </ro_list>
- <u_list>
- </u_list>
- <pa_list>
- <item2/>
- </pa_list>
- <rd_list>
- <item1/>
- <item2/>
- <item3/>
- </rd_list>
- <rd2_list>
- <item1/>
- <item2/>
- <item3/>
- <item4/>
- <item5/>
- </rd2_list>
- <m_list>
- <item1/>
- <item3/>
- </m_list>
- <s_list/>
- <lvl1_list>
- </lvl1_list>
- <lvl2_list/>
- <lvl3_list/>
- <sim_list>
- <item1/>
- <item2/>
- </sim_list>
- <desa1_list/>
- <desa_list>
- <item3/>
- </desa_list>
- </data>
- <patsumm>
- <item>
- <summ_data0/>
- <summ_data1/>
- </item>
- </patsumm>
- <acptlist>
- <hopedd/>
- </acptlist>
- </main>
- <hidden/>
- <send_05400>
- <savedata>
- <item/>
- <item2/>
- </savedata>
- <reqdata>
- </reqdata>
- </send_05400>
- <temp/>
- <tempacptlist>
- <acptlist/>
- </tempacptlist>
- <init>
- <baseinfo>
- <drlst>
- <itemdr/>
- </drlst>
- </baseinfo>
- <A0008list>
- <A0008>
- <cdnm/>
- <cdid/>
- </A0008>
- </A0008list>
- <A0039list>
- <A0039>
- <cdnm/>
- <cdid/>
- </A0039>
- </A0039list>
- <lang>
- <lang1/>
- <lang2/>
- </lang>
- </init>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/pacsweb/js/ZEP001.js"/>
- <script type="javascript" src="../../../com/signweb/js/ZES001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/healexamautojudgweb/js/AJDG001.js"/>
- <script type="javascript" src="../../../com/signweb/js/ZES001.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/ENRSignEngine.js"/>
- <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
- <submission id="TRAHB03805" mediatype="application/x-www-form-urlencoded" method="post"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fAcptComboSet();
- fPatInfoSet();
- // fDefaultPatData();
- ]]>
- </script>
- <submission id="TRAHB05401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05400/reqdata" resultref="/root/main/data"/>
- <submission id="TRAHB05402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05400/reqdata" resultref="/root/main/prt"/>
- <submission id="TRAHB01504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05400" replace="instance" resultref="/root/init/baseinfo/drlst"/>
- <submission id="TRAHB05101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/patinfo" resultref="/root/main/judgpatlst"/>
- <submission id="TRAHB05404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/patinfo" resultref="/root/temp/item"/>
- <submission id="TXAHB05403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/patinfo"/>
- <submission id="TXAHB05405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05400/savedata/item" resultref="/root/hidden"/>
- <submission id="TRAHB05501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp" resultref="/root/main/acptlist"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- function fAcptComboSet(){
- submit("TRAHB05501");
- copyNodeListType("/root/tempacptlist" , "/root/main/acptlist", "replace");
- cmb_acptlist.refresh();
- }//fAcptComboSet end
-
- function fPatInfoSet(){
- model.copyNode("/root/main/patinfo" , "/root/temp");
- // ipt_hngnm.refresh(); ipt_sex.refresh(); ipt_pid.refresh(); ipt_rrgstno1.refresh(); ipt_rrgstno2.refresh(); ipt_hopedd.refresh();
- }//fPatInfoSet() end
-
- function fDefaultPatData(){
-
- fGetHealexamCodeList( new Array("A0008" , "A0039"),
- new Array("/root/init/A0008list","/root/init/A0039list") );
-
- cmb_lang1.value= 'ENG';
- cmb_lang2.value= 'ENG';
- //화면 상단에 아웃풋박스
- var hngnm = model.getValue("/root/main/patinfo/hngnm");
- var hopedd = model.getValue("/root/main/patinfo/hopedd");
- var data0 = hngnm + " 님이 " + hopedd.substr(0,4) + "년 " + hopedd.substr(4,2) + "월 " + hopedd.substr(6,2) + "일 실시한 건강 검진 소견서 입니다."
- model.setValue("/root/main/patsumm/item/summ_data0",data0);
-
- //의사아이디
- model.makeValue("/root/send_05100/srchhealexamflag" , 'C');
- model.makeValue("/root/send_05100/srchcond", "J");
- submit("TRAHB01504");
-
- //화면하단에 아웃풋 박스
- var fcnfmdrid = model.getValue("/root/main/patinfo/fcnfmdrid"); //최초확정자 id
- var lcnfmdrid = model.getValue("/root/main/patinfo/lcnfmdrid"); //최종확정자 id
- var fcnfmdrnm = model.getValue("/root/init/baseinfo/drlst/itemdr[drid = '" + fcnfmdrid +"']/drnm");
- var lcnfmdrnm = model.getValue("/root/init/baseinfo/drlst/itemdr[drid = '" + lcnfmdrid +"']/drnm");
- var fcnfmts = model.getValue("/root/main/patinfo/fcnfmts"); //최초확정자 일시
- var lcnfmts = model.getValue("/root/main/patinfo/lcnfmts"); //최종확정 일시
-
- var data1 = "최초작성 " + fcnfmts + " " + fcnfmdrnm + " 최종작성 " + lcnfmts + " " + lcnfmdrnm;
- model.setValue("/root/main/patsumm/item/summ_data1",data1);
- model.resetInstanceNode("/root/send_05400/reqdata");
- model.makeValue("/root/send_05400/reqdata/srchhealexamflag" , model.getValue("/root/main/patinfo/healexamflag"));
- model.makeValue("/root/send_05400/reqdata/srchhealexamdetlflag" , model.getValue("/root/main/patinfo/healexamdetlflag"));
- model.makeValue("/root/send_05400/reqdata/srchrsrvdd" , model.getValue("/root/main/patinfo/rsrvdd"));
- model.makeValue("/root/send_05400/reqdata/srchrsrvno" , model.getValue("/root/main/patinfo/rsrvno"));
- model.makeValue("/root/send_05400/reqdata/srchpid" , model.getValue("/root/main/patinfo/pid"));
- model.makeValue("/root/send_05400/reqdata/srchinstcd" , model.getValue("/root/main/patinfo/instcd"));
- model.makeValue("/root/send_05400/reqdata/srchstatflag" , model.getValue("/root/main/patinfo/statflag"));
- model.makeValue("/root/send_05400/reqdata/srchage" , model.getValue("/root/main/patinfo/age"));
- model.makeValue("/root/send_05400/reqdata/srchsex" , model.getValue("/root/main/patinfo/sex"));
- model.makeValue("/root/send_05400/reqdata/srchhopedd" , model.getValue("/root/main/patinfo/hopedd"));
- model.makeValue("/root/send_05400/reqdata/srchhngnm" , model.getValue("/root/main/patinfo/hngnm"));
- model.makeValue("/root/send_05400/reqdata/ajocyn" , "");
-
- model.makeValue("/root/send_05400/reqdata/srchflag" , 'display');
- submit("TRAHB05401");
-
- fBtnSet("GY");
-
- if(model.getValue("/root/main/data/m_list/item1") == ""){ //데이터가 없으면 노드를 생성한다.
- model.makeNode("/root/main/data/m_list/item1");
- }
- if(model.getValue("/root/main/data/m_list/item3") == ""){ //데이터가 없으면 노드를 생성한다.
- model.makeNode("/root/main/data/m_list/item3");
- }
-
- fSetCount();//1번탭에 내역 나눔
-
- fSetPa();//3번탭에 요약 만듬
-
- button5.dispatch("onclick");
-
- model.refresh();
- }
- function fNewPrintRslt() {
- model.makeValue("/root/send_05400/reqdata/srchhealexamflag", model.getValue("/root/main/patinfo/healexamflag")); //건진구분
- model.makeValue("/root/send_05400/reqdata/srchhealexamdetlflag", model.getValue("/root/main/patinfo/healexamdetlflag")); //건진구분
- model.makeValue("/root/send_05400/reqdata/srchrsrvdd", model.getValue("/root/main/patinfo/rsrvdd")); //건진구분
- model.makeValue("/root/send_05400/reqdata/srchrsrvno", model.getValue("/root/main/patinfo/rsrvno")); //건진구분
- model.makeValue("/root/send_05400/reqdata/srchpid", model.getValue("/root/main/patinfo/pid")); //건진구분
- model.makeValue("/root/send_05400/reqdata/srchinstcd", model.getValue("/root/main/patinfo/instcd")); //건진구분
- // model.makeValue("/root/send_05300/reqdata/srchlangflag", rdo_language.value); //건진구분
- model.makeValue("/root/send_05400/reqdata/srchhopedd", model.getValue("/root/main/patinfo/hopedd")); //건진구분
- model.makeValue("/root/send_05400/reqdata/srchhngnm", model.getValue("/root/main/patinfo/hngnm")); //성명
- model.makeValue("/root/send_05400/reqdata/srchsex", model.getValue("/root/main/patinfo/sex")); //성별
- model.makeValue("/root/send_05400/reqdata/srchage", model.getValue("/root/main/patinfo/age")); //성별
- model.makeValue("/root/send_05400/reqdata/srchflag" , 'prt');
-
- //그리드에 뿌려주기
- ret = submit("TRAHB05402");
-
- exeReportPreview("RPAHB05402", "XMLSTR", "/root/main/prt", "", "", "", "", "", "", "","", "", "", "", "", "", "", "printpaper=8;");
- }
-
- function fSetCount(){
- var i = 0;
- for( i = 0 ; i < getNodesetCount("/root/main/data/c_list") ; i++){
- model.setValue("/root/main/data/c_list['" + (i+1) + "']/item7", i+1);
- }
- for( i = 0 ; i < getNodesetCount("/root/main/data/ro_list") ; i++){
- model.setValue("/root/main/data/ro_list['" + ( i+1) + "']/item7", i+1);
- }
- for( i = 0 ; i < getNodesetCount("/root/main/data/u_list") ; i++){
- model.setValue("/root/main/data/u_list['" + (i+1) + "']/item7", i+1);
- }
- }//fPatInfoSet() end
-
- function fSetPa(){
- var totrow_c = "";
- var totrow_r = "";
- var totrow_u = "";
- var totrow_a = "";
- var item2 = "";
-
- for(var i = 0 ; i < getNodesetCount("/root/main/data/pa_list") ; i++){
- item1 = model.getValue("/root/main/data/pa_list['"+ (i+1)+"']/item1");
- item2 = model.getValue("/root/main/data/pa_list['"+ (i+1)+"']/item2") + " , ";
-
- if(item1 == "C"){
- totrow_c = totrow_c + " " + item2;
- }else if(item1 == "R"){
- totrow_r = totrow_r + " " + item2;
- }else if(item1 == "U"){
- totrow_u = totrow_u + " " + item2;
- }else if(item1 == "A"){
- totrow_a = totrow_a + " " + item2;
- }
-
- var tottot = "- 과거 병력 : " + totrow_a
- + "\n" + "- 이번검진으로 진단 : " + totrow_c
- + "\n" + "- 이번검진으로 의심 : " + totrow_r
- + "\n" + "- 이번검진으로 소견 : " + totrow_u ;
-
- model.makeValue("/root/main/data/pa_list/item3", tottot);
- }
-
- }//fSetPa() end
-
- function fSaveData(flag,m){
- model.makeNode("/root/send_05400/savedata");
- model.makeNode("/root/send_05400/savedata/item");
- if( flag == 'GY'){
- var item1 = model.getValue("/root/main/data/rd_list/item1"); //소견
- var item2 = model.getValue("/root/main/data/rd_list/item2"); //일련번호
- var item3 = model.getValue("/root/main/data/rd_list/item3"); //소견(외국어)
- }
-
- if( flag == 'DS'){
- var item1 = model.getValue("/root/main/data/m_list/item1");
- var item2 = model.getValue("/root/main/data/m_list/item2");
- var item3 = model.getValue("/root/main/data/m_list/item3");
-
- }
-
- var data = "m▦rownum▦lastupdtdt▦lastupdtrid▦dracptyn▦instcd▦healexamflag▦healexamdetlflag▦rsrvdd▦rsrvno▦cnstclsf▦cnstseq▦outcnstcnts▦cnstcnts▦pid▩"
- + m + "▦"
- + "" + "▦"
- + "" + "▦"
- + "" + "▦"
- + 'Y' + "▦"
- + model.getValue("/root/main/patinfo/instcd") + "▦"
- + model.getValue("/root/main/patinfo/healexamflag") + "▦"
- + model.getValue("/root/main/patinfo/healexamdetlflag") + "▦"
- + model.getValue("/root/main/patinfo/rsrvdd") + "▦"
- + model.getValue("/root/main/patinfo/rsrvno") + "▦"
- + flag + "▦"
- + item2 + "▦"
- + item3 + "▦"
- + item1 + "▦"
- + model.getValue("/root/main/patinfo/pid") + "▩";
- model.setValue("/root/send_05400/savedata/item" , data);
- submit("TXAHB05405");
- }//fSaveData() end
-
- function fBtnSet(flag){
- if(flag == "GY"){
- //기능,영상검사에서 수정과 저장 버튼을 활성화 시킨다.
- if(model.getValue("/root/main/data/rd_list/item2") != "" ){ //일련번호가 있으면 기 데이터가 있으므로 수정
- btn_gy_save.disabled = true;
- btn_gy_updt.disabled = false;
- }else{
- btn_gy_save.disabled = false;
- btn_gy_updt.disabled = true;
- }
-
- //의사소견에서 수정과 저장 버튼을 활성화 시킨다.
- if(model.getValue("/root/main/data/m_list/item2") != "" ){ //일련번호가 있으면 기 데이터가 있으므로 수정
- btn_ds_save.disabled = true;
- btn_ds_updt.disabled = false;
- }else{
- btn_ds_save.disabled = false;
- btn_ds_updt.disabled = true;
- }
- }
- }
-
- function fSign() {
- alert("1");
- Sign.certreload = true ; // 전자서명 호출시 인증저장 버튼을 누늘때마다 인증서가 뜨도록 처리
- alert("2");
- model.makeNode("/root/SignData");
- if(Sign.signprocess() == true){
- alert("signprocess");
- // 전자인증 관련 환자 인적 정보를 보내줌.
- var sFormcd = model.getValue("/root/init/A0039list/A0039[cdid = '1']/cdnm"); //인증저장 서식코드 가져옴
- model.makeValue("/root/main/patinfo/formcd" , sFormcd);
-
-
- model.copyNode("SignData" , "/root/main");
- alert("3");
-
- }
- }
-
- function fMake_SignData(){
- Sign.addnode("/root/main/signSaveData");
- // Sign.addnode("/root/main/signSaveData");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="2,149;1,21;2,214;1,201;1,1178;2,100;" style="border-left-style:none; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:280px; height:13px; ">[자동판정] 의사종합소견(과거)</caption>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:767px; ">
- <select id="chk_preview" ref="/root/temp/preview" visibility="hidden" overflow="visible" appearance="full" cols="4" rows="1" style="left:225px; top:745px; width:75px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>미리보기</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSetCmpyCtrl(false);
- model.setValue("/root/temp/preview","Y");
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- model.setValue("/root/temp/preview","");
- fSetCmpyCtrl(true);
- ]]>
- </script>
- </select>
- <select1 id="cmb_prntflag" ref="/root/main/prntoptinfo/prntflag" class="combo_default" visibility="hidden" appearance="minimal" style="left:410px; top:740px; width:60px; height:19px; ">
- <choices>
- <item>
- <label>Paper</label>
- <value>paper</value>
- </item>
- <item>
- <label>Excel</label>
- <value>xls</value>
- </item>
- <item>
- <label>PDF</label>
- <value>pdf</value>
- </item>
- <item>
- <label>HTML</label>
- <value>html</value>
- </item>
- <item>
- <label>BMP</label>
- <value>bmp</value>
- </item>
- <item>
- <label>TXT</label>
- <value>txt</value>
- </item>
- <item>
- <label>XML</label>
- <value>xml</value>
- </item>
- </choices>
- </select1>
- <switch id="switch1" style="left:10px; top:80px; width:1170px; height:630px; ">
- <case id="case1">
- <caption id="caption3" class="cell_1" style="left:10px; top:5px; width:1145px; height:20px; ">■ 빠른 진료 필요</caption>
- <caption id="caption4" style="left:10px; top:30px; width:1145px; height:20px; ">건강 진단 결과 의학적으로 의미가 있어 치료 및 진단을 위해 빠른 식일 내에 진료 받으셔야 할 소견입니다.</caption>
- <datagrid id="grd_c_list" nodeset="/root/main/data/c_list" autoresize="true" caption="조합^소견^진료과^순서^caption1" colsep="^" colwidth="52, 902, 108, 76, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:10px; top:50px; width:1145px; height:150px; ">
- <col ref="item10"/>
- <col ref="item4"/>
- <col ref="item5" style="text-align:left; "/>
- <col ref="item7" style="text-align:center; "/>
- <col ref="item8" visibility="hidden"/>
- </datagrid>
- <caption id="caption8" class="cell_1" style="left:10px; top:208px; width:1145px; height:20px; ">■ 경과 관찰을 위한 진료 필요</caption>
- <caption id="caption13" style="left:10px; top:235px; width:1145px; height:20px; ">건강 진단 결과 정상 범위를 벗어난 소견으로 경과 관찰을 위해 권고 기간 내에 진료를 받으시기 바랍니다.</caption>
- <datagrid id="grd_ro_list" nodeset="/root/main/data/ro_list" autoresize="true" caption="조합^소견^권고기간^진료과^순서^caption1" colsep="^" colwidth="51, 793, 99, 108, 76, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:10px; top:255px; width:1145px; height:150px; ">
- <col ref="item10"/>
- <col ref="item4"/>
- <col ref="item3" style="text-align:center; "/>
- <col ref="item5" style="text-align:left; "/>
- <col ref="item7" style="text-align:center; "/>
- <col ref="item8" visibility="hidden"/>
- </datagrid>
- <datagrid id="grd_u_list" nodeset="/root/main/data/u_list" autoresize="true" caption="조합^소견^순서^caption1" colsep="^" colwidth="50, 1003, 76, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:10px; top:460px; width:1145px; height:150px; ">
- <col ref="item10"/>
- <col ref="item4"/>
- <col ref="item7" style="text-align:center; "/>
- <col ref="item8" visibility="hidden"/>
- </datagrid>
- <caption id="caption14" style="left:10px; top:440px; width:1145px; height:20px; ">건강 진단 결과 즉각적인 진료를 요하지는 않지만, 주의하시거나 알고 계셔야 할 소견 입니다.</caption>
- <caption id="caption16" class="cell_1" style="left:10px; top:415px; width:1145px; height:20px; ">■ 주의소견</caption>
- </case>
- <case id="case2" selected="true">
- <caption id="caption17" class="cell_1" style="left:10px; top:5px; width:1144px; height:20px; ">■ 기능 검사 및 영상의학 검사 소견</caption>
- <textarea id="tar_rd_list" ref="/root/main/data/rd_list/item1" style="left:418px; top:30px; width:365px; height:340px; "/>
- <textarea id="tar_rd_list3" ref="/root/main/data/rd_list/item3" style="left:785px; top:30px; width:369px; height:340px; "/>
- <caption id="caption18" class="cell_1" style="left:10px; top:375px; width:1144px; height:20px; ">■ 의사 소견 기입</caption>
- <textarea id="tar_m_list" ref="/root/main/data/m_list/item1" style="left:10px; top:400px; width:570px; height:105px; "/>
- <textarea id="tar_m_list3" ref="/root/main/data/m_list/item3" style="left:584px; top:400px; width:570px; height:105px; "/>
- <caption id="caption19" class="cell_1" style="left:10px; top:510px; width:1144px; height:20px; ">■ 요약</caption>
- <textarea id="textarea4" ref="/root/main/data/pa_list/item3" style="left:10px; top:535px; width:1144px; height:90px; "/>
- <button id="button2" class="btn2_letter7" visibility="hidden" style="left:970px; top:375px; width:97px; height:19px; ">
- <caption>자주쓰는 문구</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var totdata = model.getValue("/root/main/data/m_list/item1");
- var totdata3 = model.getValue("/root/main/data/m_list/item3");
- var sValue =
- "1" + "▦" +
- '' + "▦" + //분류1
- '' + "▦" + //분류2
- '' + "▦" + //분류3
- '' + "▦" + //처방
- 3 //ajmm_useflag
- ;
- setParameter("SPAHB03300_PARM",sValue);
- modal("SPAHB03300", "1","50", "50", "SPAHB03300", "", "", "");
- // 불러온 데이터를 쌓는 로직
- if(model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = '"+ cmb_lang1.value+"']/ajmm_detlrecm") == ""){messageBox("선택된 데이터가 없습니다","I999"); return false;}
- var data = model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_detlrecm");
- var data3 = model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = '"+cmb_lang1.value+"']/ajmm_detlrecm");
- totdata = totdata + "\n" +data;
- totdata3 = totdata3 + "\n" +data3;
- if(model.getValue("/root/main/data/m_list/item1") == ""){
- model.makeValue("/root/main/data/m_list/item1" , data);
- model.makeValue("/root/main/data/m_list/item3" , data3);
- }else{
- model.setValue("/root/main/data/m_list/item1" , totdata);
- model.setValue("/root/main/data/m_list/item3" , totdata3);
- }
- tar_m_list.refresh();
- tar_m_list3.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="datagrid9" nodeset="/root/main/data/rd2_list" autoresize="true" caption="검사^내역^영어처방명^외국어^처방코드" colsep="^" colwidth="131, 251, 100, 284, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:10px; top:30px; width:405px; height:340px; ">
- <col ref="item1" type="inputbutton"/>
- <col ref="item2"/>
- <col ref="item3" visibility="hidden"/>
- <col ref="item4"/>
- <col ref="item5" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
-
- if (datagrid9.colRef("item1") == datagrid9.col ){ //메인값
- model.resetInstanceNode("/root/tmp_03300/ajmmlist");
- var sValue =
- "1" + "▦" +
- '' + "▦" + //분류1
- '' + "▦" + //분류2
- '' + "▦" + //분류3
- model.getValue("/root/main/data/rd2_list["+datagrid9.row+ "]/item5") + "▦" + //처방
- "2" //ajmm_useflag
- ;
-
- setParameter("SPAHB03300_PARM",sValue);
- modal("SPAHB03300", "1","50", "50", "SPAHB03300", "", "", "sysmenu:hidden"); //sysmenu:hidden
-
- if(model.getValue("/root/tmp_03300/ajmmlist/ajmm_seqno") != ""){
-
- var adddesc = model.getValue("/root/main/data/rd2_list[" + datagrid9.row + "]/item2"); //추가내용
- model.makeValue("/root/main/data/rd2_list["+ datagrid9.row+"]/item2" , adddesc + "\n" + model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_detlrecm")); //변환내용
-
- //외국어
- var adddesc2 = model.getValue("/root/main/data/rd2_list[" + datagrid9.row + "]/item3"); //추가내용
- var langflag = cmb_lang2.value;
- model.makeValue( "/root/main/data/rd2_list[" + datagrid9.row+"]/item3" ,
- adddesc2
- + "\n"
- +model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = '"+ langflag + "']/ajmm_detlrecm")
- );
- }
-
- }
-
- datagrid9.refresh();
-
- ]]>
- </script>
- </datagrid>
- <button id="button14" class="icon_right" style="left:385px; top:32px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var totdata = "";
- var totdata2 = ""; //외국어
- for(var i = 0 ; i < getNodesetCount("/root/main/data/rd2_list") ; i++ ){
- var item1 = '-' + model.getValue("/root/main/data/rd2_list['"+ (i+1) +"']/item1");
- var item2 = model.getValue("/root/main/data/rd2_list['"+ (i+1) +"']/item2");
- totdata = totdata + item1 + "\n";
- totdata = totdata + item2 + "\n";
- totdata = totdata + "\n";
-
- var item3 = '-' + model.getValue("/root/main/data/rd2_list['"+ (i+1) +"']/item3");
- var item4 = model.getValue("/root/main/data/rd2_list['"+ (i+1) +"']/item4");
- totdata2 = totdata2 + item3 + "\n";
- totdata2 = totdata2 + item4 + "\n";
- totdata2 = totdata2 + "\n";
- }
- model.makeValue("/root/main/data/rd_list/item1" , totdata);
- model.makeValue("/root/main/data/rd_list/item3" , totdata2); //2는 일련번호
- tar_rd_list.refresh();
- tar_rd_list3.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_gy_save" class="btn5_letter2" visibility="hidden" style="left:1111px; top:5px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSaveData('GY','i')
- ]]>
- </script>
- </button>
- <button id="btn_ds_save" class="btn5_letter2" visibility="hidden" style="left:1111px; top:375px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSaveData('DS','i')
- ]]>
- </script>
- </button>
- <button id="btn_gy_updt" class="btn5_letter2" visibility="hidden" style="left:1068px; top:5px; width:45px; height:19px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSaveData('GY','u')
- ]]>
- </script>
- </button>
- <button id="btn_ds_updt" class="btn5_letter2" visibility="hidden" style="left:1068px; top:375px; width:42px; height:19px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSaveData('DS','u')
- ]]>
- </script>
- </button>
- <select1 id="cmb_lang1" ref="/root/init/lang/lang1" visibility="hidden" appearance="minimal" style="left:870px; top:375px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/A0008list/A0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </case>
- <case id="case3">
- <caption id="caption2" class="cell_1" style="left:10px; top:5px; width:1144px; height:20px; ">■ 심혈관 질환 위험도 평가</caption>
- <caption id="caption7" style="left:10px; top:30px; width:1144px; height:20px; ">심혈관 질환(관상동맥 질환) 위험도는 현재까지 연구된 결과를 바탕으로 알려진 여러가지 심혈관 질환에 영향을 미치는 위험 요인을 고려하여 향후 심혈관 질환 발생 가능성을 알려드립니다.</caption>
- <datagrid id="datagrid4" nodeset="/root/main/data/lvl1_list" autoresize="true" caption="결정적 위험 요인^해당" colsep="^" colwidth="220, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:191px; top:50px; width:323px; height:150px; ">
- <col ref="item5"/>
- <col checkvalue="Y,N" disabled="true" ref="item6" type="checkbox"/>
- </datagrid>
- <datagrid id="datagrid5" nodeset="/root/main/data/lvl2_list" autoresize="true" caption="강한 위험요인^해당" colsep="^" colwidth="221, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:515px; top:50px; width:325px; height:150px; ">
- <col ref="item5"/>
- <col checkvalue="Y,N" disabled="true" ref="item6" type="checkbox"/>
- </datagrid>
- <datagrid id="datagrid6" nodeset="/root/main/data/sim_list" autoresize="true" caption="10년 후 심혈관질환 발생 가능성" colsep="^" colwidth="175" mergecellsfixedrows="bycolrec" rowsep="|" style="left:10px; top:50px; width:180px; height:150px; ">
- <col ref="item1"/>
- </datagrid>
- <caption id="caption10" class="cell_1" style="left:10px; top:205px; width:1144px; height:20px; ">[분석 결과]</caption>
- <textarea id="textarea5" ref="/root/main/data/sim_list/item2" style="left:10px; top:230px; width:1149px; height:65px; "/>
- <caption id="caption20" class="cell_1" style="left:10px; top:300px; width:1144px; height:20px; ">■ 대사증후군 평가</caption>
- <caption id="caption21" style="left:10px; top:325px; width:1144px; height:40px; ">
- <![CDATA[대사증후군이랑 여러 가지 대사 상태를 복합적으로 고려한 종합적 평가 기준으로서, 비만 그중에서도 특히 복부비만과 신체활동의 저하로 인한 인슐린 저항성과 관런이 있습니다.
- 대사 증후군의 요소들은 서로 같이 나타나는 경우가 많으며, 대사 증후군의 경우 심혈관 질환의 위험성이 높아집니다. 여기서는 NCEP 기준을 적용하여 평가하였습니다.]]>
- </caption>
- <datagrid id="datagrid7" nodeset="/root/main/data/desa1_list" autoresize="true" caption="항목^기준^결과^해당" colsep="^" colwidth="533, 246, 240, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:10px; top:365px; width:1149px; height:165px; ">
- <col ref="item1"/>
- <col ref="item2"/>
- <col ref="item3"/>
- <col checkvalue="Y,N" disabled="true" ref="item4" type="checkbox"/>
- </datagrid>
- <caption id="caption22" class="cell_1" style="left:10px; top:535px; width:1144px; height:20px; ">[분석 결과]</caption>
- <textarea id="textarea6" ref="/root/main/data/desa_list/item1" style="left:10px; top:560px; width:1149px; height:65px; "/>
- <datagrid id="datagrid8" nodeset="/root/main/data/lvl3_list" autoresize="true" caption="보호 요인^해당" colsep="^" colwidth="217, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:840px; top:50px; width:319px; height:150px; ">
- <col ref="item5"/>
- <col checkvalue="Y,N" disabled="true" ref="item6" type="checkbox"/>
- </datagrid>
- </case>
- </switch>
- <button id="button5" class="btn_sw" group="tab" selected="true" style="left:10px; top:60px; width:130px; height:22px; ">
- <caption>1</caption>
- <toggle case="case1" ev:event="onclick"/>
- </button>
- <button id="button1" class="btn_sw" group="tab" selected="true" style="left:140px; top:60px; width:130px; height:22px; ">
- <caption>2</caption>
- <toggle case="case2" ev:event="onclick"/>
- </button>
- <button id="button8" class="btn_sw" group="tab" selected="true" style="left:270px; top:60px; width:130px; height:22px; ">
- <caption>3</caption>
- <toggle case="case3" ev:event="onclick"/>
- </button>
- <output id="opt_sumdata0" ref="/root/main/patsumm/item/summ_data0" style="left:11px; top:10px; width:1044px; height:19px; "/>
- <caption id="caption1" class="tit_2" style="left:10px; top:40px; width:151px; height:13px; ">의사종합소견</caption>
- <line id="line4" class="line_1" style="x1:10px; y1:54px; x2:1178px; y2:54px; "/>
- <output id="opt_summdata1" ref="/root/main/patsumm/item/summ_data1" style="left:10px; top:715px; width:1161px; height:19px; "/>
- <button id="button9" class="btn6_letter6" visibility="hidden" style="left:10px; top:740px; width:104px; height:22px; ">
- <caption>의사소견출력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fNewPrintRslt();
- ]]>
- </script>
- </button>
- <button id="button10" class="btn6_letter6" visibility="hidden" style="left:115px; top:740px; width:104px; height:22px; ">
- <caption>전체출력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fNewPrintRslt();
- ]]>
- </script>
- </button>
- <select1 id="cmb_lang2" ref="/root/init/lang/lang2" visibility="hidden" appearance="minimal" style="left:305px; top:740px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/A0008list/A0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <button id="button3" class="btn2_letter2" visibility="hidden" style="left:1136px; top:60px; width:42px; height:19px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fDefaultPatData();
- ]]>
- </script>
- </button>
- <select1 id="cmb_acptlist" ref="/root/tempacptlist/acptlist/hopedd" appearance="minimal" style="left:1078px; top:30px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/tempacptlist/acptlist">
- <label ref="hopedd"/>
- <value ref="hopedd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- model.setValue("/root/main/patinfo/rsrvdd" , model.getValue( "/root/main/acptlist[hopedd = '" + cmb_acptlist.value +"']/rsrvdd" ));
- model.setValue("/root/main/patinfo/rsrvno" ,model.getValue( "/root/main/acptlist[hopedd = '" + cmb_acptlist.value +"']/rsrvno" ));
- model.setValue("/root/main/patinfo/hopedd" , model.getValue( "/root/main/acptlist[hopedd = '" + cmb_acptlist.value +"']/hopedd" ));
- fDefaultPatData();
- fAcptComboSet(); // 화면단에서 건진일이 자꾸 겹처짐.. 해결 못했음. 일단 재조회로 버그 수정함.
- ]]>
- </script>
- </select1>
- <caption id="caption5" class="cell_1" style="left:1078px; top:5px; width:100px; height:20px; text-align:center; ">■ 건진일 ■</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|